<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>物业管理软件</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="description" content="Charisma, a fully featured, responsive, HTML5, Bootstrap admin template.">
	<meta name="author" content="Muhammad Usman">

	<#include "*/pubcss.ftl">	
</head>

<body>
	<#include "*/top.ftl">
	<!-- topbar ends -->
	<div class="container-fluid">
		<div class="row-fluid">
			<#include "*/left.ftl">
			<div id="content" class="span10">
			<!-- content starts -->
			<div>
				<ul class="breadcrumb">
					<li>
						<a href="#">资产管理</a> <span class="divider">/</span>
					</li>
					<li>
						<a href="#">房屋建筑物信息</a> <span class="divider">/</span>
					</li>
					<li>
						<a href="#">房屋建筑物维护</a>
					</li>
				</ul>
			</div>
		    <form class="form-horizontal"  id="buildingForm" action="javascript:saveBuilding()">
		    <div class="row-fluid sortable">
			    
				<button type="button" class="btn btn-primary" onclick="javascript:window.history.back();">返回</button>
		    </div>
			<div class="row-fluid sortable">		
				<div class="box span12">
					<div class="box-header well" data-original-title>
						<h2><i class="icon-user"></i>房屋建筑物信息</h2>
					</div>
					<div class="box-content">
					    <div class="row-fluid">
							<div class="span6">
							   <fieldset>
								<div class="control-group form-horizontal">
								   <label class="control-label" for="focusedInput">企业名称</label>
									<div class="controls">
										${(building.company.cname)?if_exists}
									</div>
								</div>
								</fieldset> 
							</div>
                        </div>
						<div class="row-fluid">
							<div class="span6">
							   <fieldset>
								<div class="control-group form-horizontal">
								   <label class="control-label" for="focusedInput">权证编号</label>
									<div class="controls">
										<input class="input-xlarge focused" readonly id="qzbh" name="building.qzbh" type="text" value="${(building.qzbh)?if_exists}">
									</div>
								</div>
								</fieldset> 
							</div>
							<div class="span6">
							   <div class="control-group form-horizontal">
								<label class="control-label">建筑物名称</label>
								<div class="controls form-horizontal">
									  <input class="input-xlarge focused" readonly id="bname" name="building.bname" type="text" value="${(building.bname)?if_exists}">
								</div>
							  </div>
							</div>
                        </div>
						<div class="row-fluid">
							<div class="span6">
							   <fieldset>
								<div class="control-group form-horizontal">
								   <label class="control-label" for="focusedInput">结构</label>
									<div class="controls">
										<input class="input-xlarge focused" readonly id="struct" name="building.struct" type="text" value="${(building.struct)?if_exists}">
									</div>
								</div>
								</fieldset> 
							</div>
							<div class="span6">
							   <div class="control-group form-horizontal">
								<label class="control-label">层数</label>
								<div class="controls form-horizontal">
								 <input class="input-xlarge focused" readonly id="layer" name="building.layer" type="text" value="${(building.layer)?if_exists}">
								</div>
							  </div>
							</div>
                        </div>
						<div class="row-fluid">
							<div class="span6">
							   <fieldset>
								<div class="control-group form-horizontal">
								   <label class="control-label" for="focusedInput">建成年月</label>
									<div class="controls">
										<input class="input-xlarge focused" readonly id="buildmonth" name="building.buildmonth" type="text" value="${(building.buildmonth)?if_exists}">
									</div>
								</div>
								</fieldset> 
							</div>
							<div class="span6">
							   <div class="control-group form-horizontal">
								<label class="control-label">建筑面积（平方米）</label>
								<div class="controls form-horizontal">
								  <input class="input-xlarge focused" readonly id="buildarea" name="building.buildarea" type="text" value="${(building.buildarea)?if_exists}">
								</div>
							  </div>
							</div>
                        </div>
						<div class="row-fluid">
							<div class="span6">
							   <fieldset>
								<div class="control-group form-horizontal">
								   <label class="control-label" for="focusedInput">成本单价（元）</label>
									<div class="controls">
										<input class="input-xlarge focused" readonly id="price" name="building.price" type="text" value="${(building.price)?if_exists}">
									</div>
								</div>
								</fieldset> 
							</div>
							<div class="span6">
							   <div class="control-group form-horizontal">
								<label class="control-label">账面原值</label>
								<div class="controls">
								  <input class="input-xlarge focused" readonly id="bookvalue" name="building.bookvalue" type="text" value="${(building.bookvalue)?if_exists}">
								</div>
							  </div>
							</div>
                        </div>
						<div class="row-fluid">
							<div class="span6">
							   <fieldset>
								<div class="control-group form-horizontal">
								   <label class="control-label" for="focusedInput">账面净值</label>
									<div class="controls form-horizontal">
									 <input class="input-xlarge focused" readonly id="netbookvalue" name="building.netbookvalue" type="text" value="${(building.netbookvalue)?if_exists}">
									</div>
								</div>
								</fieldset> 
							</div>
							<div class="span6">
							   <div class="control-group form-horizontal">
								<label class="control-label">管理（使用）部门</label>
								<div class="controls">
								  <input class="input-xlarge focused" readonly id="mdept" name="building.mdept" type="text" value="${(building.mdept)?if_exists}">
								</div>
							  </div>
							</div>
                        </div>
						
						<div class="row-fluid">
							<div class="span12">
								<div class="control-group form-horizontal">
									<label class="control-label" for="focusedInput">备注</label>
									<div class="controls">
										<textarea class="span11" readonly id="zcontent" name="building.content" rows="3">${(building.content)?if_exists}</textarea>
									</div>
								</div>
							</div>
						</div>
						
					</div>
				</div><!--/span-->
			
			</div><!--/row-->
            </form>
			<!-- content ends -->
			</div><!--/#content.span10-->
		</div><!--/fluid-row-->

		
	</div><!--/.fluid-container-->

	<#include "*/infotemplate/alert.ftl">
    <#include "*/infotemplate/saveinfo.ftl">
	<#include "*/pubjs.ftl">
	<script src='${base}/script/asset/building_edit.js'></script>		
</body>
</html>
